package com.lu.statistics.common.configBean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "sys.file-config")
//@PropertySourc(value = "classpath:application.yml", encoding = "UTF-8")
public class SystemConfig {
    private String defaultHead;
    private String virtualPath;
    private String physicalPath;
    private String downloadPah;

    public String getDefaultHead() {
        return defaultHead;
    }

    public String getVirtualPath() {
        return virtualPath;
    }

    public String getPhysicalPath() {
        return physicalPath;
    }

    public String getDownloadPah() {
        return downloadPah;
    }
}
